<?php
if (!isset($_GET["arg1"]))
{
    include "section/heroes/heroes.php";
}
else
{
    if ($_GET["arg1"] == "new")
    {
        include "section/heroes/create.php";
    }
    else if (is_numeric($_GET["arg1"]))
    {
        include "section/heroes/detail.php";
    }
    else
    {
        include "section/heroes/heroes.php";
    }
}
?>